<layout name="Layout/main" />
<div class="input-group" id="datetimepicker">
	<input type="text" class="form-control"
		data-date-format="YYYY-MM-DD HH:mm" placeholder="开始日期" name=""
		readonly="readonly"> <span class="input-group-addon"><span
		class="glyphicon-calendar glyphicon"></span> </span>
</div>
<br>
<a href="#" class="btn btn-success" id="messager-confirm">Confirm</a>
<a href="#" class="btn btn-success" id="messager-alert">Alert</a>
<br>
<br>
<div id="wmd-editor" class="panel">
	<div id="wmd-button-bar"></div>
	<textarea rows="11" id="wmd-input" class="wmd-textarea" width="100%"></textarea>
	<div id="wmd-preview" class="wmd-panel"></div>

</div>

  <script src="__PUBLIC__/js/jquery.form.js"></script>
    <script src="__PUBLIC__/js/kindeditor/kindeditor-min.js"></script>
     <script src="__PUBLIC__/js/T.js"></script>
       <script src="__PUBLIC__/mark/showdown.js"></script>
          <script src="__PUBLIC__/mark/wmd.js"></script>
           <script src="__PUBLIC__/mark/prettify.js"></script>
         
    <!-- Menu Toggle Script -->
    <script>
  
        $(function() {
        	
        	var title = $('#wmd-preview');
        	title.bind('DOMNodeInserted', function(e) {
        		$("#wmd-preview pre").addClass("prettyprint");
        		prettyPrint();  
        	});
        	
        });
    </script>